/**
 * 角色查询参数
 */
export interface RoleQuery extends PageQuery {
  name?: string;
  status?: number | string;
  createBy?: string;
}

/**
 * 角色分页对象
 */
export interface RolePageVO {
  /**
   * 角色编码
   */
  code?: string;

  /**
   * 角色ID
   */
  id: number;
  /**
   * 角色名称
   */
  name?: string;
  remark?: string;
  createBy?: string;
  createTime?: string;
  lastUpdateBy?: string;
  lastUpdateTime?: string;
  delFlag?: number;
  label?: string;
  value?: string;
  status?: number;
}


/**
 * 角色分页
 */
export type RolePageResult = PageResult<RolePageVO[]>;

/**
 * 角色表单对象
 */
export interface RoleForm {
  id?: number;
  name?: string;
  remark?: string;
  createBy?: string;
  createTime?: string;
  lastUpdateBy?: string;
  lastUpdateTime?: string;
  delFlag?: number;
  label?: string;
  value?: string;
  status?: number;
}

/**
 * 获取角色权限
 */
export interface RolePermission {
  roleId?: number;
}

